// TOWN SCRIPT
//    Town 5: Bowler

// This is the special encounter script for this town.
// The states INIT_STATE, EXIT_STATE, and START_STATE have
// meanings that are described in the documenation. States you write
// yourself should be numbered from 10-100.

// flags:
// 5, 0 = talked to Jock after completing quest

begintownscript;

variables;

short choice;

body;

beginstate INIT_STATE;
	set_crime_tolerance(5);

	set_name(10, "Helen");
	set_char_dialogue_pic(10, 544, 0);
	set_name(11, "Jock");
	set_char_dialogue_pic(11, 529, 0);
break;

beginstate EXIT_STATE;
// Always called when the town is left.
break;

beginstate START_STATE;
	if (get_ran(1, 0, 100) < 6) {
		text_bubble_on_char(6, "Woof Woof Woof");
	}
	if (get_ran(1, 0, 100) < 6) {
		text_bubble_on_char(7, "Stay out of trouble.");
	}
break;

beginstate 10;
break;
